package com.cn.wanxi.mapper;

import com.cn.wanxi.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UserMapper {

    UserEntity findByUsernameAndPassword(UserEntity userEntity);

    List<UserEntity> findAll(UserEntity userEntity);

    Integer getCount(UserEntity userEntity);
}
